package cn.zhou.user.mapper;

import cn.zhou.user.domain.Logininfo;
import cn.zhou.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author me
 * @since 2022-06-16
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo loadByUserOrType(@Param("username") String username, @Param("type")Integer type);

    Logininfo loadByUserId(Long userId);
}
